package rbac.View.Main.Service;

import rbac.View.Main.DoMain.Entity.User;
import rbac.View.Main.DoMain.Dto.UserDto;
import rbac.View.Main.DoMain.Vo.Result;

public interface IUserService extends IBaseService<User,UserDto>{

    boolean deptInUse(int deptId);

    boolean roleInUse(int roleId);

    Result toggle(int id);
}